package main

import "fmt"

type IP []byte

func ParseIP(s string) IP {
	for i := 0; i < len(s); i++ {
		switch s[i] {
		case '.':
			fmt.Println(s[i])
		case ':':
			fmt.Println(s[i])
		}
	}
	return nil
}

func main() {
	//a := "sdgasdg"
	//switch a {
	//case "sdgasd":
	//	fmt.Println(111)
	//case "1":
	//	fmt.Println(222)
	//}
	ParseIP("192.168.1.1")
}
